﻿namespace K9Nano.Domain.Entities;

/// <summary>
/// 用户角色实体类
/// </summary>
public abstract class UserRoleBase<TUser, TRole> : AuditEntityBase
    where TRole : RoleBase
    where TUser : UserBase
{
    public long UserId { get; set; }
    public long RoleId { get; set; }
    public TUser User { get; set; }
    public TRole Role { get; set; }
}